from flask import current_app

def get_project_root():
    return current_app.root_path